add_package()

py_library(
  NAME
    flow
  DEPS
    .conditions
    .frame_base
    .state
    .variables
)

py_library(
  NAME
    conditions
  SRCS
    conditions.py
)

py_test(
  NAME
    conditions_test
  SRCS
    conditions_test.py
  DEPS
    .conditions
)

py_library(
  NAME
    frame_base
  SRCS
    frame_base.py
  DEPS
    .state
    .variables
    pytype.blocks.blocks
    pytype.pyc.pyc
)

py_test(
  NAME
    frame_base_test
  SRCS
    frame_base_test.py
  DEPS
    .conditions
    .frame_base
    .state
    .variables
    pytype.pyc.pyc
    pytype.rewrite.tests.test_utils
)

py_library(
  NAME
    state
  SRCS
    state.py
  DEPS
    .conditions
    .variables
)

py_test(
  NAME
    state_test
  SRCS
    state_test.py
  DEPS
    .conditions
    .state
    .variables
)

py_library(
  NAME
    variables
  SRCS
    variables.py
  DEPS
    .conditions
)

py_test(
  NAME
    variables_test
  SRCS
    variables_test.py
  DEPS
    .conditions
    .variables
)
